<?php 
//script to insert new keyword to DataBase
/*
#########################################################
#														#
#		Slawomir Mitak 									#
#		email: slawomirmitak@yahoo.com					#
#		form to search thru DB with suggestionss		#
#														#
#########################################################*/

/*
Database table

CREATE TABLE `schdb` (
  `search_key` varchar(255) default NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="suggestions.css" rel="stylesheet" type="text/css" />
</head>

<body onclick="document.getElementById('searchTerms').style.display='none';">
<script type="text/javascript" src="suggestions.js"></script>

<h2>Search engine</h2>
<form method="post" name="searchForm">
<div id="search">
<input type="hidden" id="remKw"/>
<input type="text" id="searchKeyword" name="searchKeyword" style="width:200px;" onkeyup="KeyPress(event);" autocomplete="off"/>
<input type="submit" value="Search" />
<div id="searchTerms"></div>
</div>
</form>
</body>
</html>